<?php

namespace app\admin\model;

/**
 *  退货退款单 - 明细表
*/
class ReturnorderItem extends BaseModel
{


    public function product()
    {
        return $this->hasOne(Product::class, 'id', 'product_id');
    }

    /* 仓库 */
    public function warehouses()
    {
        return $this->hasOne(Warehouse::class, 'id', 'warehouse_id');
    }

}
